package smartcampus.scjava.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import smartcampus.scjava.POJO.DO.CsmsUser;

/**
 * @author 雨辰YC
 * @date 2023/12/7 10:59
 * @description CsmsUserMapper
 */
public interface CsmsUserMapper {
    boolean generateUser(CsmsUser csmsUser);

    CsmsUser getCsmsUserByUserName(@Param(value = "username") String username);

    CsmsUser getCsmsUserByUserID(@Param(value = "userID") Integer userID);
}
